package com.cskaoyan.market.service;

import com.cskaoyan.market.db.domain.MarketCoupon;
import com.cskaoyan.market.db.domain.MarketCouponUser;
import com.cskaoyan.market.db.domain.MarketUser;
import com.cskaoyan.market.vo.WxCouponMyListVo;

import java.util.List;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: MYM
 * @Date: 2024/05/20/20:53
 * @Description:
 */
public interface WxCouponService {
    List<WxCouponMyListVo> myList(MarketUser user, Short status, Integer page, Integer limit);
    List<MarketCouponUser> myListPage(MarketUser user, Short status, Integer page, Integer limit);

    List<MarketCoupon> list(Integer page, Integer limit);

    List<MarketCoupon> selectList(Integer cartId, Integer grouponRuleId);

    void receive(Integer couponId , MarketUser user);

    Object exchange(String code, MarketUser user);
}
